<?php
//include_once($cfgPaths['lib/admin'].'user.o.inc.php');
//$usr = new user($env->getSession('s_user'),$udba);

//$env->setSession('s_user',$usr->exportUserData());
$s_user = $env->getSession('s_user');

if ($s_user['authenticated'] && $is_live)
{
?>
logged in as: <?=($s_user['data']['long_name'])?$s_user['data']['long_name']:$s_user['data']['name']?><br />
Actions: <a target="_blank" href="<?=$cfgPaths['AdminUrl']?>cms/cmsFrame.php?doc_id=<?=$doc_id?>">edit Page</a>
<?php
}
?>